|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDisCSP.CSPLexerParser.Token
| Field Summary | |
(package private) char |
charValue
|
(package private) int |
intValue
|
(package private) boolean |
isCh
|
(package private) boolean |
isEnd
|
(package private) boolean |
isEol
|
(package private) boolean |
isInt
|
(package private) boolean |
isStr
|
(package private) java.lang.String |
strValue
|
| Constructor Summary | |
Token(int t,
double nval,
int ttype,
java.lang.String sval)
Costruttore di Token |
|
| Method Summary | |
char |
getChar()
Getter di charValue |
int |
getInt()
Getter di doubleValue |
java.lang.String |
getString()
Getter di strValue |
boolean |
isChar()
Getter di isCh |
boolean |
isEnd()
|
boolean |
isEOL()
|
boolean |
isInt()
Getter di isDb |
boolean |
isString()
Getter di isStr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
boolean isInt
boolean isEnd
boolean isEol
boolean isCh
boolean isStr
int intValue
char charValue
java.lang.String strValue
| Constructor Detail |
public Token(int t,
double nval,
int ttype,
java.lang.String sval)
t - indica il tipo di token letto dallo StreamTokenizernval - il numero eventualmente letto dallo StreamTokenizerttype - il carattere eventualmente letto dallo StreamTokenizersval - la stringa eventualmente letta dallo StreamTokenizer| Method Detail |
public boolean isInt()
public boolean isEnd()
public boolean isEOL()
public boolean isChar()
public boolean isString()
public int getInt()
throws LexerException
LexerException
public char getChar()
throws LexerException
LexerException
public java.lang.String getString()
throws LexerException
LexerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||